package com.aiti.lulian.service;

import com.aiti.base.core.utils.message.Message;
import com.aiti.lulian.dto.ShowEnterpriseServiceDto;
import com.aiti.lulian.entity.ShowEnterpriseServiceEntity;
import com.aiti.lulian.entity.ShowServiceEnterprise;
import com.aiti.lulian.vo.ShowEnterpriseServiceVo;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;
import java.util.List;

/**
 * <p>
 * 服务 服务类
 * </p>
 *
 * @author 
 * @since 2025-06-11
 */
public interface IShowEnterpriseServiceService extends IService<ShowEnterpriseServiceEntity> {

    List<ShowEnterpriseServiceVo> serviceList(Page page, ShowEnterpriseServiceDto dto);

    void addServerUser(ShowEnterpriseServiceEntity entity, ShowServiceEnterprise serviceEnterprise, String loginUserId);

    Message addCount(ShowEnterpriseServiceDto dto);

    Message importBatch(MultipartFile file, String userId) throws IOException;

    void removeServerUser(String serviceId);

    void deleteServerUser(String username, String serviceId);

    void setDetailInfo(ShowEnterpriseServiceEntity entity, String loginUserId);
}
